#include "diamond.h"


Diamond::Diamond()
{

}
Diamond::Diamond(QPoint _pos,QPixmap _pixmap,int _type)
{
    this->setPos(_pos);
    this->setPixmap(_pixmap);
    this->mDiamondType = _type;
    this->_Rect = this->boundingRect().translated(this->pos());
}
Diamond::~Diamond()
{

}
